
<template>
    <div class="spanControl-list" style="width: 100%;margin-left: 0!important;">
        <el-card class="box-card card-head" style="margin: 0px; width: 100%; min-height: 99%">
            <div slot="header" class="clearfix">
                <span>查看资讯审核</span>
            </div>

            <div class="text item">
                <el-form label-position="left" inline class="display-form">
                        <el-form-item label="标识">
                            <span>{{ newsReview.EId }}</span>
                        </el-form-item>
                        <el-form-item label="名称">
                            <span>{{ newsReview.name }}</span>
                        </el-form-item>
                        <el-form-item label="园区资讯">
                            <span>{{ newsReview.parkNewsName }}</span>
                        </el-form-item>
                        <el-form-item label="园区资讯">
                            <span>{{ newsReview.parkNewsId }}</span>
                        </el-form-item>
                        <el-form-item label="审核人">
                            <span>{{ newsReview.reviewer }}</span>
                        </el-form-item>
                        <el-form-item label="审核时间">
                            <span>{{ newsReview.reviewTime }}</span>
                        </el-form-item>
                        <el-form-item label="审核意见">
                            <span>{{ newsReview.reviewAdvice }}</span>
                        </el-form-item>
                        <el-form-item label="审核状态">
                            <span>{{ newsReview.reviewStatus }}</span>
                        </el-form-item>
                        <el-form-item label="备注">
                            <span>{{ newsReview.remark }}</span>
                        </el-form-item>
                        <el-form-item label="创建人">
                            <span>{{ newsReview.createId }}</span>
                        </el-form-item>
                        <el-form-item label="创建时间">
                            <span>{{ newsReview.createDatetime }}</span>
                        </el-form-item>
                        <el-form-item label="修改人">
                            <span>{{ newsReview.updateId }}</span>
                        </el-form-item>
                        <el-form-item label="修改时间">
                            <span>{{ newsReview.updateDatetime }}</span>
                        </el-form-item>
                </el-form>
            </div>
        </el-card>
    </div>
</template>

<script>
import {NewsReviewService} from './NewsReviewService';

export default {
    components: {
    },
    data() {
        return {
            newsReview:{},
        }
    },
    methods: {
        findNewsReviewForView(newsReviewId)//查找资讯审核
        {
            NewsReviewService.findNewsReviewForView(newsReviewId).then((resp) => {
                this.newsReview = resp.data;
        }).catch((error) => {
            this.$message({
            type: 'error',
            message: '查询资讯审核出错'
        })
        })
        },
    },
    created() {
        const newsReviewId = this.$route.params.newsReviewId;
        this.findNewsReviewForView(newsReviewId);
    },
}

</script>
<style scoped lang="scss">

</style>
